var express = require('express');
var multer = require('multer');
var upload = multer( {dest:'public/images/'} )
var explorationController = require('../controllers/explorationController')
var router = express.Router();

/* GET home page. */
router.get('/',explorationController.explorationFind);
router.put('/',explorationController.explorationUpdata);
router.delete('/',explorationController.explorationDelete);
router.post('/',upload.single('picture'),explorationController.explorationAdd);

module.exports = router;